from PyQt4.QtGui import *  
from PyQt4.QtCore import *  
import sys  

app=QApplication(sys.argv)
b=QPushButton("Hello Kitty!")  
b.show()
app.connect(b,SIGNAL("clicked()"),app,SLOT("quit()"))  
app.exec_()